package com.we.risk.registerorigin.table;

public class TableUserSource {
    public static final String KFKTABLE = "fdm.hhl01_user_source_1031";
    public static final String QUERYSQL =
            "select uid, "
                    + "origin_source, "
                    + "unix_timestamp(date_format(update_time,'yyyy-MM-dd HH:mm:ss')) as update_time "
                    + "from "
                    + KFKTABLE
                    + " where update_time is not null "
                    + "and type = 'MA' AND source = 'AppStore' AND campaign IS NOT NULL AND medium IS NOT NULL "
                    + "and origin_source <> ''";

    public long uid;
    public String origin_source;
    public long update_time;

    public TableUserSource(long uid, String origin_source, long update_time) {
        this.uid = uid;
        this.origin_source = origin_source;
        this.update_time = update_time;
    }

    public TableUserSource() {}

    public long getUid() {
        return uid;
    }

    public String getOrigin_source() {
        return origin_source;
    }

    public long getUpdate_time() {
        return update_time;
    }
}
